package cloud.ben.smallscalepigfarmmanagementsystem.service.pig;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigFatteningHouseDeathRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigLivingSituation;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:28
 */

public interface IPigLivingSituationService {



    /**
     * 增加生猪存栏情况信息
     * @param pigLivingSituation
     * @return RespBean
     */
    RespBean insertPigLivingSituation(PigLivingSituation pigLivingSituation);

    /**
     *根据id删除育生猪存栏情况信息
     * @param id
     * @return RespBean
     */
    RespBean deletePigLivingSituation(Integer id);

    /**
     * 修改生猪存栏情况信息
     * @param pigLivingSituation
     * @return RespBean
     */
    RespBean updatePigLivingSituation(PigLivingSituation pigLivingSituation);


    /**
     * 分页查询生猪存栏情况信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectPigLivingSituationByPage(Integer pageNumber,Integer pageSize);

    /**
     *查询猪存栏情况数量（方便分页）
     * @return RespBean
     */
    RespBean selectPigLivingSituationNum();

}
